package com.zeldu.exam.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("question_library")
public class questionLibrary {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID",type = IdType.ID_WORKER)
    private Long id;

    @TableField(value = "teacher_id")
    private String teacherId;

    @TableField(value = "createTime")
    private Timestamp createTime;

    @TableField(value = "subject")
    private String subject;

    @TableField(value = "type")
    private int type;

    @TableField(value = "question")
    private String question;

    @TableField(value = "choice")
    private int choice;

    @TableField(value = "grade")
    private String grade;


}
